package StringBuilderExample;

public class StringBuilderDemo01 {
    public static void main(String[] args) {
        StringBuilder s1 = new StringBuilder();
        s1.append("Hello").append("123").append("456");
        System.out.println(s1.toString());
        System.out.println(s1.insert(5,"abcdefghijklmn"));
        System.out.println(s1.delete(10,20));
        System.out.println(s1.reverse().toString());
    }
}
